package main.java.com.NWPU.models;

public class Game {
    private String gameId;
    private String playerName;
    private int score;
    // 其他游戏相关属性和方法

    public Game(String gameId, String playerName) {
        this.gameId = gameId;
        this.playerName = playerName;
        this.score = 0;
    }

    // 游戏逻辑方法，例如更新分数、判断游戏结束等

    public String getGameId() {
        return gameId;
    }

    public String getPlayerName() {
        return playerName;
    }

    public int getScore() {
        return score;
    }
}